It can be a symptom of MS. All MS symptoms depend upon where CNS damage has occured. If there was damage in the frontal lobe, it can cause personality changes.
Also, there can be mild personality changes based on cognitive issues. Some find they are short tempered, or irritible because concentrattion is difficult.