The use of "sir" (or "ma'am") in responses is a sign of respect and politeness in many cultures, especially in formal or hierarchical settings. It is a way of addressing someone with a higher status or authority as a sign of deference and acknowledgement of their position.
Here are some reasons why people say "yes, sir" and "no, sir":
Politeness and respect: Using "sir" is a polite and respectful way of acknowledging the person you are speaking to. It shows that you recognize their authority or seniority.
Cultural norms: In some cultures and regions, using honorifics like "sir" or "ma'am" is deeply ingrained in the language and social customs. It is considered appropriate and courteous.
Formality: In formal or professional settings, people often use titles like "sir" to maintain a level of decorum and professionalism.
Traditions and customs: In certain institutions like the military, law enforcement, or other hierarchical organizations, addressing superiors with "sir" or "ma'am" is a standard practice.
Sign of subservience: In some cases, saying "sir" or "ma'am" may also imply a willingness to comply or show obedience to authority figures.
It's important to note that the use of "sir" or "ma'am" can vary based on cultural norms, regional customs, and the formality of the situation. In more casual or informal settings, people may omit these honorifics and simply respond with "yes" or "no" without being considered impolite. The context and relationship between the individuals involved play a significant role in determining how such language is used and perceived.