Are you using 2 physical SIm cards or is one an eSIM
The S23 is dual SIM passive meaning only 1 sim can be operational at any one time.
Head on over to your SIM manager and check how each SIM is set up ie calls, messages and mobile data. Report back with your findings. Screenshots will help further.