Disrespectful boys

Why do boys think it’s ok to degrade you and make you feel worse about yourself when they broke up with you. I just don’t get it. I’m so tired of being depressed and heart broken