Pontiac Aztek starts intermittently

Why does my 2001 Pontiac Aztek occasionally not start? Then, if I let it sit with the key out for 20 minutes, it will.