Acidic foods can also cause them to swell, like salsa or lemon head candies for example. Also, if you think you may be allergic to a food you just ate! go to the hospital. It happened to me, I've eaten coconut my whole life but it was processed. When I ate raw coconut from the nut I started swelling inside my mouth, particularly on my tongue!
One of the most common causes of swollen taste buds is eating extremely hot food that may burn the papillae causing swelling. Eating very spicy or salty food can also trigger swelling of the taste buds.