Before the wedding, Uncle Tyrion slapped Joffrey, who wanted to humiliate him in front of everyone and save his face. Joffrey is a vengeful man. When such a thing happens, he will definitely let his uncle bear it. Because of Tyrion Lannister was born a dwarf, only half as tall as his brother. Tyrion's father disliked him very much, and so did his mother and uncle.
Second, Joffrey's character Joffrey has always been arrogant. He has no scheming and shrewd people. After he ascended the throne, he became more intense and played as he pleased. All his actions are just to satisfy himself, so he chose this opportunity to tease his uncle at the wedding. Joffrey's behavior was not influenced by his mother Cersei? Lannister stopped, others applauded, and Tyrion was humiliated. Mother's extreme doting made Joffrey so selfish.
Third, because of the wedding, the woodcutter who lost his life drank a cup of poisoned wine at the wedding and died of poisoning. Before he died, he had to point the finger at his uncle, who was his greatest enemy. It is precisely because of the far-reaching influence of the wedding storm that the story is greatly promoted. Tyrion has always been a sentimental person, so he won't kill Joffrey. So who killed Joffrey? Tyrion is a rare military talent, and his departure is a loss to the Lannister family.