SMS history disappears when SIM removed
When the SIM card is removed, SMS history disappears. It is restored when the SIM is re-inserted (only done with a reboot, not sure if it also works without rebooting).
I think most people expect that the SMS history would still be visible in the app even if the SIM is removed.