As the Quran says: "Oh, you who believe! Fasting is prescribed to you as it was prescribed to those before you, that you may learn piety and righteousness" [Quran 2:183]
As a non-religious gay I probably wasn't invited anyway. But this kind of thinking is what leads conservatives to so much repression and hate. The idea that the wants and needs of your body are something which the mind must actively fight. That the scratchy, ill-fitting wool sweater of your culture is something that you must keep on at all costs. And it leads to resentment of people who are not under such self-imposed restrictions.
There is a reason in queer culture that 'shadiness' is a bigger sin than anger. Shadiness is what happens when someone represses their true feelings. Those feelings don't go away though, they just resurface in other unexpected and non-adaptive ways.
Fasting is a practice of discipline; consciously choosing to forgo one thing to focus on another. You don't not eat because God or Allah or Buddha or whomever actually care that you didn't eat. You don't eat to focus on mastering your own desires such that you can better your own mindfulness of adherence to the other strictures of your faith during your daily life, even when you are not fasting.
The reason many religions focus on fasting is that it is a common and simple way to be aware of a temptation and choose to not give into it.
Edit: I should add, in case my point wasn't obvious, that none of the above has to do with you or anyone else. It is purely a personal thing.
Anyone who brags about how much religious fasting they are doing are just showing that they have been wasting their time and have gotten nothing from it.