This is not about rescue costs or solidarity. An insurance for this is quite cheap. This is about having fewer people up there and maybe more tax money locally.
It's a trend among French mayors since tourists are back after 2yrs of covid. They want to get rid of the crowd while still benefiting from high-income tourism.
In the end this is allowing only rich people to enjoy mountain / wild-life.