The word "老妈" is formed by attaching the prefix "老", which in this context conveys familiarity and affection, to the root character "妈", meaning mother, creating an informal and endearing term for one's mother.