The piston rises and compresses the fuel in the cylinder during 
the "compression" stroke. 
Both valves have to closed in order to compress the fuel in there. 
If either valve were open, just a crack, then the gases wouldn't get 
as compressed as they should ... they'd just get forced out into the 
fuel line or the exhaust line through the open valve.