As you note, money printing is a big part the tide went up. But why did Amazon go up even more than the tide? I think it is more complex than just printed money. It is partly aligned incentives, incentivized workers, ruthless execution, focus, internal investment, and i'm sure you can think of some bad reasons also.
At some point we do need to acknowledge better execution, more aligned incentives, etc.
One particular thing to note, many of the non-FAANG companies treat their employees terribly, especially engineers. Comp is nothing compared to FAANG, and yet they expect cheery engineers and other "low level workers" who give it their all and bring success to the company. And perhaps the formula doesnt work, which is good, because all workers should share in the success of their efforts.