The name comes from the nut's resemblance to the crenellated parapet of a medieval castle.
The name is derived from the nut's resemblance to the fortified walls of a medieval castle, specifically its crenellations.