Why is the Supplier Debited for Withholding Tax in Purchases?

You do not have to name it VAT, you can name it anything, it is a tax treatment.

You didn’t pay attention.

The quoted message above describes my method of posting the tax. If it is a non-refundable tax, you may debit the related expense account. If it is a refundable tax expense, you debit an asset account.