I have a bug that keeps happening on the web version where the language keeps changing to a random esolang at random.
Yeah, the language keeps changing except when it's unlocked for the first time. You can set the language for a level in Options, but that's temporary and forgotten once you switch levels. It's actually a feature!
Why does it do that though?
Which keywords you see and how they manifest in the code depend on your solutions, so rotating the languages is essential for unlocking all of them.