mediaman’s comment (and the article they linked) says that the government blocking the deal is one of the limited circumstances in which Musk wouldn’t have to pay.
The government issue and the money issue are basically the two scenarios in which Musk would be unable (not just unwilling) to complete the transaction. So that's where he has to pay the fee. Otherwise, he can't change his mind.
(I know "kill fee" isn't the right term, but that's what we'd call the equivalent in publishing!)