I think Kogoro just gets annoyed of Conan because Conan thinks more "HI-TECH" (is that the word?) than him...
Also, Conan just want to give Kogoro a hint how to solve the case... but even though he hits Conan he then realized the answer to the case not realizing Conan gave a hint to him... :?: