I've never heard of any rule that says caps must be reserved for environmental variables. To me a variable is a variable, whatever its purpose.
I generally use uppercase for my variables simply to make it clear that they
are variables. It sets them apart from commands, comments, and other code, and helps to make everything more readable.
Other people may do it differently, perhaps by using some kind of standard prefix or something, but for the same reason: to make the variable names stand out from the rest of the code.
In the advice I've read about coding style, they usually say the more important thing is to choose a pattern that works well and use it
consistently.
But then again, I'm just an amateur hacking away as best I can, so what do I know.