The dongles are common because they predate widespread availability of bluetooth equipped laptops and desktops by about a decade…00’s versus 10’s.
Dongles are also plug and play (no pairing dance) and more readily support multiple devices on the same computer.
Bluetooth has gotten better over the years but it doesn’t provide a meaningfully better alternative for the it-aint-broke consumer mouse market.
I bought a new mouse recently and intentionally got a dongle one, not that it was hard to find. It's just better.