Malcolm Turnbull has publicly rebuked Scott Morrison in a dramatic worsening of relations between the former prime minister and his successor.

Mr Morrison on Thursday morning took a swipe at the former Liberal Party leader, saying Mr Turnbull should stay out of politics and will not be representing the Coalition government at any more international meetings.

Mr Turnbull appeared on behalf of the Coalition government at a global oceans conference in Bali earlier this week, where he also criticised Mr Morrison's controversial decision to potentially follow US President Donald Trump in recognising Jerusalem as the capital of Israel.

"There is no question, were that move to occur, it would be met with a very negative reaction in Indonesia," Mr Turnbull told reporters at the conference.