Imo the “bad boy who’s only nice secretly/after you get through his layers” trope in media functions as propaganda designed to get you to second guess yourself and your experiences in order to give bad men a chance. Some things need to be taken at face value and if he treats people like shit he is in fact a bad person even if he’s nice to you sometimes. Stop looking for hidden meaning and depth in his actions. He’s not misunderstood he’s just an asshole and it’s not your job to shovel through the shit to get to the disappointing “good” parts