Why is tax paid by the sender of transaction not by who initiates the transaction?

Hi guys, I am learning Terra on Terra Academy and I was told tax is paid by the sender of the transaction not by who initiates the transaction. Isn’t it vulnerable to attackers? They can make use of this feature to exhaust UST in the smart contract. I wonder why this feature was designed.
(I know tax has been canceled currently.)