When stores don’t keep products in stock, customers turn to Amazon instead