NIHAO – VIII. Circum-galactic medium and outflows – The puzzles of H i and O vi gas distributions