According to the prosecutor’s office, it's because they're accused of having links to the network of US-based cleric Fethullah Gulen.
Ankara says it was him who orchestrated a 2016 attempted coup.
Those who are facing jailtime include three colonels, eight majors and 10 lieutenants.

Iran vows to attack any ship trying to pass through Strait of Hormuz
Bahrain thwarts fresh wave of Iranian aerial attacks
Qatar shoots down Iranian jets, intercepts missiles, drones
Kuwait shoots down US jets in friendly-fire incident, US CENTCOM says
