Essentially, it's backward evolution. And ferns aren’t the only species at it. The Liolaemus lizard, for example, has seemingly re-evolved to lay eggs having previously adapted to birth live young.
For example, moist habitat ferns are the Massachusetts, Crested Wood or Cinnamon type. One may observe the Rusty Woodsia, ...