Back when search engines started Boolean operators were spelled in caps.
I'm not sure when they switched to symbols, but since the standard mathematical symbols like or "." were in use or escaped characters they had to use weird ones.
OR is now "|" (pipe/vbar), but they never chose a symbol for XOR