Why SMS Based 2FA?
Static codes are used by the SMS-based 2FA. It is better and important at the same time because it is tied to one individual phone number. That way is really helpful to keep your account safe from the cyber-attacks because in that case the code only appears for some time and then it expires.
Other ways could help the hackers and malicious third-party, because if they have the access to view message through some other devices then they can sneak into your account. But 2FA using the Google Authenticator along with the SMS verification will definitely be more beneficial for users to remain safe from any mishaps.