I mean, yeah it's petty, but if the story is true, she is quite literally asking for nothing more than the exact same treatment the person next to her received. And if the unopened can thing really was an airline policy, then the stewardess absentmindedly broke that policy handing that dude his beer, but then she saw a muslim and is like OH GOD I CANT GIVE THIS PERSON A CLOSED CAN SHE MIGHT HIJACK THE PLANE WITH IT. And if she really got some random dude going ROBBLE ROBBLE FUCK MUSLIMS, yeah that's pretty fucked up too.
It makes sense not to tolerate any form of bigotry against yourself, even with something as petty as an unopened soda can, because in this world if you give people an inch they will try to take a mile.