Here "prostitution" refers to Ephraim's worship of false gods.
Israel has become unacceptable to God because of her actions.