SPX moves per buying/selling in the individual stocks... and you can't buy the SPX.
When money flows into/out of SPY, the ETF manager buys and sells stocks in the SPX. But the amount of flow into the ETF is very small compared to the total amount of flow into the individual SPX stocks. So...