It's because of your badges. You don't have the right badge to tame the Pokemon, so the Pokemon disobeys you after it reaches the level. This isn't an issue if you were the OT, but since it's traded it is. They'll obey you after you get the second badge.