DO NOT attempt to start the car again. Your engine is probably hydrolocked. Water does not compress in the combustion chambers and it will cause very expensive damage to the engine. The engine must be inspected and cleaned before you can start the engine again.
As for why would the water pass through the air filter. It can happen if you drive through the puddles at high speed.