Probably onomatopoeic, compare Swedish titta. Similar words are Danish kigge and English peep.
titte (past tense tittede, past participle tittet)