Its possible that David had his own personal ephod similar to the priest, that he had made for himself, that was blessed of Yaoh.