You can't guess the 2FA code. It changes faster than you could ever attempt to test all combinations.
Up until recently SMS 2FA could be broken for $10 because one VOIP provider allowed number registration on any number.
If you can filter 10,000 accounts down to 100 with known passwords, now you just have to bypass 2FA on 100 accounts.
It used to be this didn't have any real backend checks, so you could effectively steal someone's number, at least temporarily.
Surely not?
From 2021:
https://www.vice.com/en/article/y3g8wb/hacker-got-my-texts-1...
EDIT: yea it's not 'registering' the number but rather rerouting a copy of all messages to another number.