It's actually two basic problems:
1. The digital pin output voltage is too so it can't turn on the IGBT,
2. The digital pin sink/source current is too low so it can't charge and discharge the gate capacitance fast enough to turn on and off the IGBT fast enough to minimize the time that the IGBT spends in between the efficient ON and OFF states when switching. This results in increased switching losses at best. At worst, the MOSFET can't even finish switching before you need to to change states again.
You use a gate driver to boost both the voltage, and current to deal with this.
And usually there is a third problem:
3. If you have IGBTs where the source-pin is not connected to ground (i.e. a high-side IGBT with a floating source pin) then the gate-source voltage required to activate the IGBT isn't even sharing the same reference voltage as the digital output pin is.
In this case you need a floating gate driver. The cheapest and most common is a capacitor boostrap gate driver but it has the limitation that it cannot do 100% duty cycle. For that you need a dedicated floating voltage supply to run the gate driver on.
The simplest, but most expensive way is to take a bootstrap capacitor gate driver circuit/IC and just replace the boostrap capacitor and boostrap diode with with an isolated converter. Sometimes you can build a charge pump circuit with a 555 timer that runs when the high-side IGBT is turned on and it replenishes the bootstrap capacitor. Cheaper in parts, but much more components and wiring for what can appear to be a somewhat convoluted circuit. Google app notes. It'll come up real fast.
Sometimes a fourth problem:
4. Ringing and latch-up are also issues. Switch too fast and you get ringing from transmission line effects such as under/over voltage and latch up. Switch too slow and you get too much switching losses as previously mentioned.
Series resistors placed close to the gate pin and measuring observing the gate switching waveform with different gate resistances (1-10 ohms probably) is the simplest method to solving this. Some people also use clamp diodes on the gate and other such things