when hamlet saw the ghost what did he wonder

When Hamlet saw the ghost of his father, he wondered if it was truly the spirit of his deceased father or if it was a trick or illusion meant to deceive him. He questioned the nature of the ghost and why it had appeared to him, leading him to suspect foul play and an ulterior motive behind its appearance.