Apple is opinionated about which languages should be used on their platforms, and they enforce it with these kinds of decisions.
For example, there was a time where Steve Jobs threatened to forbid iPhone apps not written in Obj-C, which would have destroyed the cross-platform ecosystem, at Apple's expense. Luckily, he was talked down from being that extreme.