The love story between Emperor Taizong and Yang Guifei is very famous in history, and the reason for the separation of Emperor Taizong and Yang Guifei is closely related to the Anshi Rebellion. At that time, An Lushan was in a high position and held the relieving power, which won the trust of Emperor Taizong and Yang Guifei, so not only some people wondered why he rebelled.
Many people analyze the reasons for his rebellion, and think that An Lushan launched the "Anshi Rebellion" because he was afraid of villains and was afraid of being hurt by villains, so he launched a rebellion to protect himself. This analysis is actually reasonable. At that time, An Lushan was in a high position, but he had a bad relationship with other ministers. Coupled with An Lushan's long-term guarding of the country, it is inevitable that some people like to speak ill of him in front of the monarch.
Yang and An Lushan, in particular, looked down on Yang's despicable means and ignored Yang. An Lushan's brilliant exploits also made him a thorn in Yang's side. An Lushan knew that Yang had to deal with himself sooner or later, and found that Yang was hanging out with him every day. An Lushan felt unsafe, so in order to protect himself, he plotted rebellion.
Secondly, An Lushan initiated the "An Shi Rebellion" because he realized that Emperor Taizong had scruples about himself. You know, An Lushan did hold the relieving power at that time, and he did have some success. At the same time, the villain often speaks ill of An Lushan in front of Emperor Taizong, and An Lushan also noticed that Emperor Taizong had intentionally or unintentionally weakened the relieving power in his hands. You know, the military power, the Anshi rebellion did not rely on it.
An Lushan may have considered that if he didn't resist, he would eventually be deprived of his military power. Then Yang and others will add fuel to the fire, and he himself will become a lamb to be slaughtered, and the road ahead is worrying. Simply put, when you are in power, you still have a chance to fight for rebellion. Perhaps it was out of these ideas that An Lushan immediately launched the "An Shi Rebellion".