This isn’t allowed in the US, not sure about the new EU rules regarding this specifically. Best they can do is show a “deduction” only on web/other platforms that shows they’re getting it cheaper than iOS iirc.
Can you cite the US law for it?
I think it's specifically Apple that doesn't want it because it would give more visibility to Apple's abusive behavior.