User blog:LegerPrime/Heartfilia Family

I just realized something. Anna Heartfilia and Layla have the same last name as Jude. Am I the only one confused by this? Is Anna the ancestor of Jude or Layla? How does marriage work in the Fairy Tail universe? Is it the reverse, where the husband takes the wife's last name? Can someone please help me?