Buyers cancel purchase for odd reasons

Can seller keep deposit if reason isn't specified on contract?