What triggers the optional change in رَأْسٌ?

Rules of Hamzated Forms: Lightening, Substitution, Elision and Short Paradigms