Final answer:
The Pashtun code of conduct dictates strict roles for women, including dress and behavior, limiting their freedoms and opportunities. Malala Yousafzai's annoyance stems from these restrictions, particularly around education for girls. Her activism directly contradicts the Taliban's oppressive rule in Swat Valley, which put her life in danger.
Step-by-step explanation:
The Pashtun code of conduct, also known as Pashtunwali, has strict norms for women, including how they should dress, behave, and the roles they play in society. Women are expected to fulfill traditional roles, and their freedoms in various aspects of life are significantly limited. They are often required to wear full coverings, must be accompanied by a male relative when outside, and have restricted access to education and employment opportunities.
Malala Yousafzai was annoyed with these restrictive practices because they hinder the ability of women and girls to receive an education and live a full, self-determined life. Her stance led to her advocacy for girls' education, which was seen as a direct challenge to the prevailing cultural and societal norms under the Taliban's rule in Swat Valley, Pakistan.
The Taliban, during their hold on power, notably restricted women's rights based on their interpretation of Sharia law. This situation led to the removal of women from workplaces, required them to wear burkas, and curtailed their freedoms. Malala's activism against such rules put her at odds with the Taliban, ultimately leading to her being targeted and shot for advocating for girls' right to education.