It's the drive for independence switching on
Sometime in the second year, children discover they are separate people with their own wants, and "no" is their first tool for testing it. Fighting every "no" turns the day into a battle. Offering small choices gives that new independence somewhere safe to go.