Lewis Hamilton expressed frustration with Ferrari's approach to Q3 after qualifying sixth for the Azerbaijan Grand Prix, saying "they changed the plan".