English from Gaelic "spear"; probably of Irish origin from Barra which is a short form of Fionnbharr, Irish Gaelic, "fair head".
Another possible origin is from the town of Barry in Wales, possibly via the surname from that source.