Final answer:
The central O atom has 2 electron groups surrounding it. These 2 electron groups repel each other and adopt a linear shape.
Step-by-step explanation:
The central O atom has 2 electron groups surrounding it - two bonding pairs (from the two single bonds with H atoms). These 2 electron groups repel each other and adopt a linear shape.