Why exp is debited and pary to be credited
because as per Debit Credit Rules
ALL EXPENSE ARE DEBITED
LIABILITY IF INCREASED ARE CREDITED
LEARN MORE HERE
https://www.teachoo.com/804/246/Rules-for-Debit-Credit/category/Rules-For-Debit-Credit/