A Sydney council has been commended for their response after a tree separating a row of houses from an ocean view was deliberately damaged.