These masks usually represented the spirits, deities, or mythological creatures. Or even to scare away the negative energy or spirits.
If that's not the answer you were looking for, they also would create unique masks that matched their persona and who they were by using specific colors, details, prints, patterns, or animal.