Considering brain development and differing effects of various substances/activities, I don't see any contradiction with having different age thresholds.
Well being able to serve in the military at 18 around weapons that potentially kill but you can't have a bear for another 3 years does sound a bit contradictory.
Indeed. Military service shouldn't begin before 21