What makes indexing worse in the short term?
Generally you should avoid putting money into stock markets with anything less than a 10 year window unless you love risk. And you should never put your emergency fund in the stock market since stock market crashes and needing said emergency fund tend to be highly correlated, which means when you pull your money out, you are all but guaranteed to be selling low.