Why did Pope Gregory and Henry the third the fifth or the fourth come into conflict

The pope claimed the authority to remove the emperor from the drone
The pope named a different emperor to replace Henry
Henry's land was seized by the Pope
Or
Henry tried to remove the pope from power

The conflict between Pope Gregory and Henry stemmed primarily from the pope's claim of authority to remove the emperor from the throne. This resulted in Pope Gregory naming a different emperor to replace Henry, which led to the seizure of Henry's lands by the pope. The disagreement over who had the ultimate authority in matters of governance and appointment of rulers caused significant tension between the two.