HELP! Bad smells comes when I’m I smelling certain food.

Okay so I had the flu so my nose was runny when I got better i fully healed which was yesterday I went to the beach I swam so obviously I got probably swallowed the water and it went in my nose, right after the beach we went and got food I got fries sauce on the side and a chicken wrap. The fries were fine but the sauce every time I smelled it it smelled horrible the chicken on my wrap smelled fine again the sauce I couldn’t eat it. Now olives have that awful dead battery smell and so does any sauce, I couldn’t find anything on google to help!! This has never happened to me before it’s so weird does anyone know what will help or why this happened and why that smell come only to certain food?