According to the Magnuson-Moss Warranty Act of 1975, a manufacturer can only deny warranty coverage if it can demonstrate that a non-original equipment part or related service caused a defect to occur to the original product.
Read the following link provided. A manufacturer can NOT "void" a warranty for any reason. The can only attempt to deny a warranty claim, but they bear the burden of proof.
As lapoolboy stated: they are inviting a lawsuit.
https://www.autoanything.com/resources/magnuson-moss-warranty-act-explained/