You shouldn't feel bad, brah. Everyone fucks up at least every now and again. I've left my wallet somewhere else more than a few times. Keep a tray full of change nowadays for such situations.
The world is full of self centered assholes who lack empathy. It's not even 5 fucking cents. I would have told you to fuck off for a quarter or more, because a quarter can get you something, but 4 cebts? SMDH.
If it would have been them, they would have done the same thing and expected someone to give it to them. We've ALL been in that situation or something similar. Do a brother a solid.