The reason is because behavior is when someone followed the rules.
For example: I've been to Fiji Island once and their culture is different than mine. In Fiji, you are not allowed to stand in the house. You must find a place to sit on the rug. So if I don't follow the rules of their culture, they would say "I have a bad behavior."
The answer cannot be offense because offense is when you like saying something to someone then all of the sudden they get mad.
Problem isn't correct as well since it doesn't make sense here.