Good evening LB I have a puzzle I wrote based on something I've experienced in the past anyways without further ado... Let's get to it...
You love art and decided to buy an art and also pay for something else the two payments are A and B. Now for Payment A you Sent 0.2
BTC from your main wallet to Mr A selling the art and you set a moderate fee. While for Payment B you Sent 0.05
BTC from the same main wallet to Mr B for a commission and you set a slightly lower fee than Payment A because it's a smaller amount.
You do both payments one after the other and your wallet immediately shows both Payment A and Payment B as pending. After an hour you refresh your wallet Payment A is still pending but Payment B is gone It's no longer in your pending transactions list and it is not your confirmed transactions or balance.
After refreshing your network on your phone the 0.05
BTC you tried to send for Payment B reappeared in your wallet balance making it look like it was never spent You're a bit confused thinking probably there was a network glitch. Then you resend Payment B with a higher fee than before and it says pending immediately.
After an hour You check again.
Payment A is still pending
The resent Payment B is also still pending
Your wallet balance still reflects the 0.05
BTC for the resent Payment B as if it's still available even though your wallet says pending. Suddenly a new block is found and confirmed on the Bitcoin network and your wallet syncs up.
Payment A is now confirmed It's in the new block, the resent Payment B is also confirmed It's in the same new block as Payment A and your wallet balance correctly updates showing both 0.2
BTC and 0.05
BTC as spent.
Explain what happened along every point in the story. Pls be direct and
DON'T USE AI assume you are a Nigerian and we are referring to the regular bitcoin network.

Would have made this on the general board but I think Nigerians will benefit more from it so I made it here..
Good luck....For the first scenario payment A and payment B are pending because pending because they where at the mempool waiting for miners to pick up the transaction. Payment B failed because of the low fees.
In conclusion the higher the transaction fees the more quicker miners will pick up the transaction which will can tell in the last scenario when both transactions was confirmed at the same time even when transaction A as been in the mempool for a long time.