Sailors on shore leave spend their own money.
Well, that may invite comments about sailors being paid “by the government” hence by tax dollars, but it is still their own pay and they can’t get more money by fiat like the government does.
And as a retired Sailor I can say the end result is the same, however, one is more pleasurable than the other.