Fat adaptation is about shifting your hormonal balance and response to retrain your body to maintain a lower level of glucose, and to retrain your cravings and hunger.
When there isn't enough glycogen, the chemical balances in the mitochondria change and the liver mitochondria will produce glucose from whatever they have. This isn't a "decision" just the relative amounts of the chemicals change leading to one chemical pathway becoming more likely compared to another. This is all mediated by the random collisions of molecules in your cells. If you have a lot less of one molecule compared to another, the frequency that molecules find each other to do one thing v/s the other will change leading to different chemical pathways becoming more or less active.
There are many routes for your body to produce glucose. It is "easier" for your body to produce it from gluconegenic amino acids (not all amino acids can be used to produce glucose) than it is from fatty acids. It's the process of converting fatty acids into glucose that generates ketones. So when you have excess amino acids that can be turned into glucose, the chemistry will prefer this pathway over breaking down fat into glucose and this will lead to lower ketone production overall and kick you out of ketosis.
(I think I've gotten the gist of this right but any biochem experts feel free to correct me)
This only works because athletes tend to have pretty insane protein (and calorie!) demands.
If you as a regular, non-athlete person load up on protein (while neglecting to consume sufficient fat), your body will be forced to convert the protein into glucose, and you'll fall right out of ketosis