The only free and comprehensive online etymological dictionary of the Spanish language
haya (1) f. (Noun) "beech," "beech tree"

14th cent. From the second element of Latin materia fagea "beech wood." From fagus "beech tree." From Proto-Italic *fāgo- 'id.' From Proto-Indo-European *bheh2g-o- 'id.'

Also the origin of the surnames de la Haya, Hay, Hayas, Faya, and Fayos.

Romance: Western Vulgar Latin: Asturian faya, Portuguese faia

Indo-European: Celtic: Gaulish *bāgos "beech;" Germanic: Old Norse bók "beech," Old High German buohha 'id.,' Old Saxon bōka 'id.,' Old English bōc 'id.' (English beech); Hellenic: Ancient Greek φηγός (phegós) "oak," "acorn"