According to the book, what causes the ending of a muʿrab noun to vary?

The Rule of the Muʿrab: Visible and Estimated Case