I was rude and angry yesterday after barely eating anything and drinking all day
I'm sorry that you hadn't eaten, but why did you punish others for that?
I can tell you that most of my friends would not be so rude to people if they had been fed
That might be true, but that doesn't mean that it's acceptable for you to act that way. You can't punish others just because you didn't get to eat or drink. Try to plan ahead for situations where it would be difficult to get food or drinks.
I was overreacting, it was the first time I've felt this way.
I'm happy that you understand that. It's good to see how your behavior can be considered negative to other people.