As far as I know, there is no "union" for military officers and pay only went up 5.2% this year (about equal with inflation). Are you thinking of police officers?
It depends on the country. Some have unions for the military.
How is that odd? As the job has become less desirable over time the candidate pool shrinks, so salaries and benefits have to rise in order to entice people to apply. It’s simple economics.