Endophthalmitis itself is not contagious. It results from the introduction of infectious agents into the eye, often during surgery or due to trauma.