Why do stick insects wobble?

To stabilise itself