It's pretty old trick, the main premise is social engineering, tricking sim owner or customer support to give them access.
I presume many X account hacking few years ago that involved many famous people's accounts which got used to shill for a shitcoin is part of this scheme.
Nowadays, I think these sim swapping method still exist but on a smaller scale after mobile carriers are reinforcing their security to prevent this attack.
If you think the fault is mostly from the mobile carriers, then you might not be entirely correct because individuals still act non-chalant towards their own security and there's only so much mobile carriers can do.
I learnt to always avoid using text messages for my login codes instead I prefer 2FA. To put an extra password on my sim so it doesn't have use for anyone transferring my sim without the extra password.
To always still keep the number I used in registration of my bank verification details at least active once in a while mostly for those of us who live in this part of West Africa where your number can be blocked and resold to someone else.
The most important is to always reach network providers when I notice I suddenly don't have service on my sim while everyone around does.
The best security to avoid scams starts from the users and not from the network providers and sane applies to our self custody wallet. Being vigilant always has its own peck that can't be ignored.