Having done IF while lifting, the issue that stands out to me with this study is that it tested only IF with no advice on exercise or nutrition.
Yes, if you fast without exercise, you will almost certainly lose muscle.
And if you fast without nutritional changes, you likely won't lose much, because IF on its own does not equal a deficit over more than hours at a time.
I gained muscle on IF with ease, and I also lost far more than in their study, with ease.
I'm surprised, given the constraints of the study, that there was an average loss at all.