Depends on the index fund and the rules / guidance they follow to balance.
Many of them are passive, and only adjust once a quarter or once a year. Additionally, big spikes by one stock match drops in other stocks, aka they're not likely to make a big sale because one stock (twitter) had a good day.