They didn't sign a transaction for 1 billion dollars.
They all signed what they thought was a routine transfer, but in reality what they signed gave the hacker full control of the smart contract (the Gnosis Safe) in which the 1.4B $ of tokens were stored.
The hackers, having gained control of the smart contract, proceeded to empty it of funds.
The hackers, having gained control of the smart contract, proceeded to empty it of funds.