Paid for (at least partially) by the U.S. government [1]. You can't easily say "no" to your own government even if you are a foreign asset.
[1] https://www.independent.co.uk/tech/spacex-ukraine-elon-musk-...