In a speech to Coast Guard graduates in Connecticut, the president said climate change is contributing to social tension and political instability worldwide.