I'm 99.9% certain that they're indicators for nearby items. The blob in the middle gets brighter the closer you are to a hidden object, and those red squares shows you their general direction.
I can answer if you want but I don't have a source other than the one time I tried it out, and I think it worked.