Where does “や” come from?

Words derived from “や”