Yes, bad spark plugs can cause a car to rattle. A rattling noise coming from the engine is often an indication that the spark plugs need to be replaced.