The Supreme Court ruled Wednesday that the federal government cannot be sued for emotional distress after two agencies improperly shared a man's medical records detailing his HIV status.