From 目(め) (me) + 玉(たま) (tama). The tama changes to dama as an instance of rendaku (連濁).
めだま • (medama) ←めだま (medama)?