You may have set a different account on your payroll setting that's why you're getting this prompt. I'm here to help you how to check your settings so you can successfully process your payroll.
Sign in to your QuickBooks account and click the Gear Icon.
Select Payroll Settings under Your Company.
Click the Preferences tab and select Accounting Preferences.
Be sure to check if you've categorized your Tax Expense and Tax Liability correctly.
Once you've made the changes, click OK.
You should be able to process your payroll once the accounts are categorized to their proper accounts. If you're unsure what accounts to use, I'd recommend reaching out to your accountant for verification.
I'll include the following articles below for your guide.