How to fix error in deploying the smart contract with Hardhat

While I am verifying the smart contract with Hardhat, I got this error.

ProviderError: max fee per gas less than block base fee (2041190997146 < 2041191414736): insufficient fee: insufficient fee

I have enough TCRO for deploying the contract to test Cronos test.

But after some time, I tried to deploy again, and it works.
Can you help me the reason of this error?

The gas fee was higher than the gas fee you set on your contract at that very moment you tried to deploy the contract first, and it was much lower the second time it went through cause the gas fee on the Blockchain was low