I believe this hasn't been the case since they revamped the notification tiles in android 12. It for sure doesn't work like that for me on 14 on a pixel.
As for the revamped notification tiles which mashed Wifi and mobile data together into one tile – this being Android, at least you can bring back the old behaviour via e.g. https://f-droid.org/packages/be.casperverswijvelt.unifiedint...