The Tanach implies that covering one's head was a sign of mourning: And David went up the ascent of the Mount of Olives, and wept as he went, and his head was covered and he walked barefoot.
According to Rabbi Isaac Klein, a Conservative Jew ought to cover his head when in the synagogue, at prayer or sacred study, when engaging in a ritual act, and when eating [REF].