The guy is a dick. It's cab fare. If you've been hanging out for a few days and you said you'd pay him back later, there's no need for him to be a jerk. As someone suggested, they just may have no wanted to have you around and were using this as an excuse to be rid of you.