Hi @joeycheng
You may have to open the phone and check if you can see if anything is obvious i.e. loose flex cables, connections etc.
It may be that the SIM card reader has gone faulty.
Here's the ifixit [[Topic:Xiaomi Redmi Note 9T]] guide that may help.