I joined a FAANG during the pendemic, and for the entire year I was there, I never got assigned a single task. Of course I kept myself busy trying to identify and solve problems around me, but I never had a deadline or anything associated with what I had chosen to work on. After a year I just couldn't do it anymore. A few acquaintances thought I was out of my mind and that I should continue milking that for all it's worth, but there's just something that makes me need to feel like someone else actually cares about what I do (or don't) do.
What you feel is the "Competence" part of core motivation according to deci & ryan "self determination theory". Their original paper is from 2008 i believe and states people need the perceived Autonomy to choose their life, perceived Competence over that choice and the perceived Relatedness that others respect and encourage your activity of choice.
So it's very understandable that if 1 of 3 is missing your psyche becomes strained.
I used to study this theory as part of my game design interests and found it extremely useful to analyse a lot of stuff from your own situation to a game or even customer experience. Just be aware of the word perceived here... allowing the theory to be used for dark patterns.
SDT's from the 70's, not 2008. However, in 2009 Daniel Pink published a book that seems to basically neatly package up SDT in a much more directly consumable way, maybe that's where your timeframe is coming from? I actually think Pink's take has some insight but it's not very scientifically oriented.
As another person who left a FAANG company because I found the work meaningless, I can assure you that what you were feeling is real and you probably made the right choice. My life is significantly more enjoyable now that I’ve joined a smaller company where the job actually motivates me.
For what it’s worth, almost everyone I talked to before leaving had the same take as what you described—that I should do the safe thing and just keep working there because the pay was high and it was relatively easy. I thought I was going crazy, because it seemed so obvious to me that I needed to move on.