Don't be fooled by their good relations平时. In fact, when it really comes to a matter, none of the G7 countries supported India! After India upgraded its strike against Pakistan, the G7 made a statement! On May 10, the G7 issued a statement urging India and Pakistan to exercise maximum restraint and calling on these two Asian neighbors with nuclear weapons to engage in direct dialogue. While the G7 issued its statement, the Pakistani military confirmed that Indian ground-to-air missiles had been fired at three Pakistani air force bases early that morning.
Clearly, from the G7's statement, none of the G7 countries publicly expressed support for India. Regarding this escalation of tensions between India and Pakistan, as India stated, India believed that the attack by "Pakistan-supported" terrorists resulted in the deaths of 26 people, so India believed that it was fully justified to retaliate against Pakistan.
However, the G7's statement does not appear to believe that India's retaliation against Pakistan is justified. We don't know how India feels about such a stance by the G7, but India probably doesn't feel very comfortable. When it comes to terrorist attacks, the G7 previously condemned Hamas and supported Israel's right to self-defense. However, India obviously did not receive the same treatment.
India probably realizes that despite its close ties with G7 countries (excluding Canada), when it really comes to matters, India cannot count on full support from the G7. This indeed also indirectly indicates that India's justification for using military means to strike Pakistan is untenable, and escalating the conflict makes even less sense. For a country like India, which has always been adept at navigating international affairs, this is undoubtedly a blow.
Source: https://www.toutiao.com/article/1831692232820043/
Disclaimer: The article solely represents the author's personal views.