The first confirmation approves a contract to stake on your behalf. OST intended for staking is moved to this contract. The second confirmation is a request for that contract to stake OST.

So, for example, if you wish to stake OST from a hardware wallet: first we move OST from your hardware wallet to a contract and then that contract stakes OST on your behalf.