A fire that burned down an Amish barn in the town of Glen was caused by a motor malfunction, the fire chief said.