Hello,
are you talking about the MIMXRT1050-EVKB evaluation board or do you want to bring-up your custom specific hardware?
Maybe, there is a missing initialization of the port pins used for red or an additional intialization / usage of the same port pins for another purpose (overlapping usage)...
Best regards,
Manfred.