At one point in 1972 when the U.S. was trying to sell my submarine, we thought Turkey was going to buy it. Eventually Turkey backed out of the deal, and we wound up being sold to Brazil. Turkey wound up buying the submarine on the other side of the pier.
The Brazilians just bought all our food in place, in the storage bins aboard. But during the time that we thought we were going to be sold to Turkey, we were told to send all our food back to the supply center, because the Turks were not willing to buy our food, which was either (1) pork or (2) stored with pork.
But the supply center could not accept food back from a ship until the safety of the food was re-certified. So the food surveyors were sent down to inspect our food. But the Navy didn't have any food surveyors. The army provides all the food surveying services for all branches of the military.
So these two guys from the Veterinary Corps came down to inspect our food.
Yes, the expertise for inspecting food resided with the Veterinary Corps. Why? Because that's the way it had always been.
And why did the army have a Veterinary Corps in the first place?
For the cavalry.
By the way, this took place in Key West, and the Turks who bought the submarine on the other side of the pier ended up buying all new food from a kosher wholesaler in Miami. Kosher wasn't quite good enough for Islamic dietary law, but it was the closest they could get to what they needed/wanted.