ref
temperament + -al
temperamental (adj.)
"of or pertaining to temperament," 1640s, from temperament + -al (1); in the sense of "moody" it is recorded from 1907. Related: Temperamentally.