The best way to get yourself out of it is to do the opposite of what you feel like doing. Want to stay in the house and mope? Go for a walk or jog or bike ride instead. You will have to force yourself to get started, but once you’re out there you’ll feel better. Depression’s biggest enemy is distraction - do something that gets your mind off your feelings. Focus on someone else.
The fact that you got a weird vibe from your guy friend could be anything - or nothing. Maybe you’re wrong. Or maybe he was having an off day. Don’t let one little instance of possible weirdness make you upset or change your behavior.
I hope you feel better soon. But remember you have to do something different in order to feel differently.