Despite the US opening an embassy in the country and pledging $810M to fight climate change and maritime security, the Solomon Islands under Sogavare's government has decided to distance itself from longstanding Western allies and pursue relations with China. If Sogavare wants his country to remain sovereign, it would be wiser for him to consider what China will use these security pacts for with respect to its expansionist goals in the region.
The Western powers are throwing a tantrum not because China is nefariously using diplomacy as a means to achieve military expansion but rather because it has conducted mutually beneficial deals with the Solomon Islands. The West does have a history of relations with the nation, but that history is of colonization and exploitation. Beijing, on the contrary, is looking to boost the islands' and its own security and economic prospects for the betterment of the whole region.