Is there a reason why I am allergic to raw tomatoes but not cooked?

Oral allergy. This is very common, it is an oral allergy and is not a life threatening one. You must have seasonal allergies too. It can also happen with other fresh fruits and vegetables. Once processed or cooked, the protein changes shape and your body does not recognize it to react to it. Keep eating them cooked.