Keto also makes one lose the desire to drink, for many people. Alcohol is processed by the body as a source of calories, as well as like a drug. I don't know what the connection is, but it seems there are some switches being flipped when the body is under these different conditions.
Moderate/higher dose of Gabapentin is well-known to also cause a loss of desire to drink. Basically you can still drink, you just don't enjoy it nearly as much. Kudzu extract does this as well. Article is pretty terrible, but it is somewhat still an open question why both Gabapentin/kudzu reduce the enjoyment/want of alcohol