Why does it hurt when you chew?

You’re eating your lunch and notice that the left side of your face has pain near your ear. When you gently touch the area, you notice that it’s swollen. Later, in the bathroom, you look in the mirror and that side of your face looks puffy. What’s causing this to happen?…