Reckon it comes down to different reasons for different people. For me it's mainly about keeping as much protein in as I can so I don't lose too much muscle.
Part of that's about how things look, sure, but muscle also burns more calories, so keeping it should make holding my weight easier down the line while still eating a reasonable amount.
Cutting calories means losing fat and muscle together, protein's what helps you hang onto the muscle part, especially paired with some kind of resistance training.
Personally find hitting my protein target tough. Worse with smaller portions or if you're not eating much meat. General guidance puts it somewhere around 1 to 2g for every kilo you weigh, which lands me at about 150g daily as a rough target. An egg carries roughly 7g, a steak's somewhere in the 50-100g range, so grabbing a shake that packs 30g into one go ends up really handy.
Shakes make it simple to hit a fixed protein number without much fuss, and the macros usually stack up well too, decent protein without dragging the calorie count up much.
Seen people mention struggling to eat enough too, especially when nauseous, and shakes or other meal replacements like Huel can go down easier than an actual meal.
Some reckon protein's more filling than other food generally too, though if your appetite's suppressed that's probably a smaller factor.