The US government is trying to find out whether the chaos was caused by "incompetence" or faulty equipment.