I add that this sort of effect is _very_ common in the computing word. I first encountered it on a #SinclairQL in the 1980s.
#SuperBASIC on the QL would remember the case of any variable name in a program the first line of code that was typed with it in, and any subsequent lines entered would be case-insensitively matched and (_unlike_ #Mastodon) forcibly changed to use the existing casing.
Heaven help you if you used some mad casing the first time.
#mastodon #superbasic #SinclairQL