Mom find you drinking an energy drink, she responds with anger, meanwhile you didn't know the effects of an energy drink, but you decided to respond with a counter to your Mom's logic, hence why you are grounded.
You could've told her you didn't know the effects of an energy drink, I'm sure she would understand :I