Why did pope gregory vii and henry iv come into conflict?

Why did pope gregory vii and henry iv come into conflict?

a. henry iv tried to force the pope to relinquish his position.
b. pope gregory vii wanted henry iv to resign as emperor.
c. henry iv believed he had the authority to appoint church officials.
d. pope gregory vii believed that only he could act on behalf of god.