So Cody's was testing Haruka to see how she reacted. He needed some assurances for himself that Haruka could be open minded and reasonable when making contact with the Destroyer races.
It starts to make sense why he was poking and prodding Haruka, even giving her "bad" advice. He wanted to see...