He abandoned his post. Marcus left in defiance of orders to go after his father, and that desertion is what earned him a prison sentence rather than a medal.
It's the central piece of baggage he carries into the first game: the COG court-martialled him, and the opening hours are as much about that broken relationship with his father as they are about the Locust war.