The Wachowskis, who directed the Matrix and transitioned, have admitted that the Matrix is actually in large part a trans allegory. Apparently one the pills used to transition was literally a red pill.
Which is why, if I remember correctly, when at one point Ivanka Trump and Elon Musk tweeted about taking the red pill, one of the Wachowskis replied that they should go fuck themselves.