Why does he get to do that?

So he's not my boyfriend but he acts like it. He told me once he doesn't see us dating. He doesn't want me to go out to parties, wear makeup, or having my hair done but he gets to do all of that. He wants me to stay home all day, every day. When he finds out i went to a party or was doing something that involves going out, he gets really mad at me.
Why does he get to do that?
Add Opinion