"Why did you break up with your girlfriend?" is the proper phrase.
"Why were you broken with your girlfriend?" is not correct or clear. The meaning isn't about separating, but closer to "emotionally damaged" or "spiritually conquered". It's an awkward sentence, so please don't use it.