Why did he pull away after sex and ask to stay friends?

have been dating this guy for a while and everything seemed so amazing and he was really into me and saying he is looking for a relationship. but after we slept together for the first time, i asked him about his feelings and he suddenly started telling me he’s not really over his ex, doesn’t know what he wants at the moment and that he is often avoidant with his feelings and that he is not good for me. it became an emotional conversation because his switch up made me sad and i cried. i feel embarrassed about this now. he told me he wants to keep seeing me and getting to know me but just being friends for now (no intimacy) and see where things go. he said he doesn’t want me to think negatively of him. i don’t understand him, what does all this mean and what should i do?

Why did he pull away after sex and ask to stay friends?
Post Opinion