The magicians tried to produce gnats by doing their magic tricks. But they couldn't. The gnats stayed on people and animals alike.