Regardless of this being mandated or not, they are sacking the best Android flagship representative thus leaving the market open to others.
Huawei is huge outside US and their latest phones are a better purchase than Samsung, more performant but most importantly they age slower which is a critical thing for an Android device.