I think there is also the issue of muscle retention/preservation? Someone step in with the more specific science if you know it off the top of your head, but this is my understanding based on what I have watched and read.
So when fat-adapted instead of burning your muscle for fuel when you run out of carbs to burn, you will burn fat instead. My understanding is the metabolic process where we burn carbs would have us burning muscle for energy in the absence of carbs. When we become fat adapted, it means we start preferring fat and our bodies will no longer try to burn carbs or muscle, but will burn fat primarily before finding another source. Introduce too many carbs again in a consistent fashion and your body will switch back again.
I think about Edward Norton of all things when this comes up. When he did American History X he was super muscley. Then he turned right around and did Fight Club. To be the scrawny guy we saw in fight club he had to lose a lot of that muscle weight. He ate very little and did a lot of running and burned off all the muscle. If he had been fat adapted it may have taken longer? I think keto is muscle preserving in this way. You eat enough protein to preserve your muscle and then train your body to run on fat. When on a higher carb diet and you calorie restrict to lose weight, you body burns carbs, then muscle, then fat. When I did Weight Watchers years ago, I could see a noticeable difference in my strength levels and the composition of my body. I lost muscle, and when I put weight back on, its more fatty than before. There no muscle holding things up and together anymore.
Someone else chime in, like I said, if you know more of the technical explanation, but this is my general understanding of the science behind it.