Your device will have settings which determine preferred network.
So if you're preferred network is SIM 1 and it is signal, SIM 2 won't work unless you manually select it.
I am not employed by Samsung nor do I receive any remuneration as a Samsung Members Star.
My device is an S25 Ultra.