I sent in return got a reject and paid the $380. to the irs with debit card ,after sent the fix return why would i need to send $380. more ?

sent 2023 return it got a reject but paid the $381.00 fixed return resent will i still owe irs $381. ( i can see it's not in my bank acct)?