logs could explain the reason - I guess that it’s due to playintegrity: to determine if you’re a bot a verdict is run, comes back negative → no SMS.
You can raise the integrity level by having a relocked device (read up first on rollback protection and if your device can do it) and a Google Account tethered to it. But kind of defeats the purpose of using a non-playstore device.