Intrusive igneous rocks cool down from magma slowly because they form underneath the surface, that will make them have large crystals.
Extrusive igneous rocks cool down from lava rapidly because they form at the surface, so that will make them have small crystals.