security – Google keeps asking me to reset my password

About an hour ago while using YouTube Studio, Google asked me to verify that it’s me. It lead me through an authentication process, then asked me to change my password and disconnected all my other devices.

I’m currently authenticated and basic services work (Gmail, Drive, Photos), but every time I try to do something about my account (like logging in again on my phone, using YouTubeStudio, adding a phone number, enabling 2-step verification) it once again wants to verify it’s really me and eventually asks me to reset my password and logs out all my other devices.

Why is this happening?

I’m terrified I could end up locked out of my mail and drive, which I use for work and is extremely important for me. Should I do anything to avoid any risks?