Dogs that are timid, fearful, dominant, friendly or aggressive view eye contact in the same way, and react to the eyes like we do.
To a dog, a stare from another dog, animal or human is rude and can mean a challenge.
When you think about it, we're uncomfortable when someone stares at us, too.