If your immune system ever fully recognized your eyes as foreign, it could destroy them. That's why your eyes are kept "hidden" from it.
The body literally protects them from the immune system to avoid self-destruction. One injury could expose them & trigger blindness in both eyes.