An irrationally motivated arsonist is called a pyromaniac.
A pyromaniac is a person with a mental disorder who find happiness in setting things/people on fire with the aim to destroy/hurt/kill them. They will usually continue setting things on fire until they are apprehended because it brings them irrational joy.