So when you log in to your Google account, after you enter your username and password, it makes you go to YouTube as your second authentication factor?
Yes, it’s a “google prompt” and is the default method of 2FA. With no way for me to adjust it in settings. I’d assume it uses any Google apps you have on your phone but YT is the only one I have.