This kind of upsets me because I am really inexperienced and I feel like he is critizing me in the bedroom.
Could be that you didn't have sex with him, so he's leaving. Men need sex, for physical reasons, and to make that emotional intimate connection. Yes, some are players, so watch out for those. I'm a guy. Sex is very emotional for me. It's a bonding experience. If the girl doesn't want to bond, I find one who does. It's that simple. I can't change her, and she doesn't want to change, so I'm gone.
I need to bond with my partner. Sex is REALLY important to men. No sex=no relationship. Remember that.
I have a long time interest in psychology, specializing in relationship dynamics for 30 years.
(Please note, we give the best advice we can based on the information given in a post. For better advice, please include the age of all romantic partners.)