Why a Pandemic Leads to Panic Buying