My Pixel does this too.
Holding the power button down used to open "the power menu," which means I need to look at my phone and tap a button to do the thing that I intended for it to do anyway.
More recently, the gesture instead opens an app "Let's get started: Your personal AI assistant [...]".
I had to go into settings (System -> Gestures -> hold power button) to get rid of the AI nonsense and make the power button do power things.
I'd like for it to just shut the thing off, but that's not in the cards.