It is not dynamic/curved text. Just regular text that appears lowercase when in the design window, but changes to all caps in the downloaded PDF.
I had previously downloaded the same document and it was fine. Only upon changing one thing (not even a change to the bugged element) did it start doing this.
I have already tried:
1. Clearing cache history.
2. Switching browsers. It happens in both Edge and Chrome.
3. Retyping the text, changing the font and size. It still happens
4. Grouping it with another element. This caused it to then happen to the element i grouped it with.
5. Downloading as both PDF standard and PDF print, and both RGB and CMYK
6. Duplicating the page and downloading it as a new page.
7. Converting the document to a template and trying again.
Nothing worked.
I eventually downloaded as a PNG and converted to PDF but this is not a real solution.