What can cause a 3D printer to catch on fire?
In short:

The control board does not have thermal runaway installed
The heated bed connectors are loose and begin to heat up until the wires catch fire
The power supply or it's connectors begin to heat up until they catch fire
The modifications that you made to your printer were not well thought out resulting in a capacitor to explode (raises hand; that's happened to me.)