Why did a male coworker hold the door open for me if he doesn’t like me? Months ago, he actually hit on me by the way?

Why did a male coworker hold the door open for me if he doesn’t like me? Months ago, he actually hit on me by the way?
Post Opinion