/6 stalling

So my slant 6 has a hard time starting g with the air cleaner lid on . But if I take the lid off it starts right up. Anyone know why it's doing that thanks slot in advance
If you post a photo with year and model, it might help a bit.