pay attention - the coins came and left the same second.
Why is this happening. There must also be a difference of at least 10 minutes between the blocks.
- Why? That's doable because spending "unconfirmed outputs" doesn't break any network protocol or standard rule, that's why it doesn't need to wait for confirmation to spend the just-received-transaction's funds.
- How? Some users build tools that can monitor address(es) and create a transaction upon receiving a transaction. To do that manually, the wallet/client needs to have a "spend unconfirmed outputs" option or similar feature, like Electrum.