I really like a guy, but he's bipolar. One minute he likes me, the next he hates me!

I'm not cheesy and were just friends at the moment, usually he acts flirty but sometimes he can be in a really bad mood, and when he was I told him some cheesy stuff! but he rudely ignored me :(