Gender roles are due to social factors that influence or allocate activities, responsibilities, and decision-making authority to groups of people. Gender roles change, often spontaneously and sometimes quickly, as the underlying social, economic and technological conditions change. Social factors which underlie and sometimes reinforce gender differences include religious practices, ethnic or cultural attitudes, class or caste, the formal legal system, and institutional arrangements.