To want to know something, or to think about it because you are not sure.
I wonder why Maya left so early.
We wondered if the store was still open.
In the common question meaning, wonder means “want to know,” not “be amazed.”
Common phrases & grammar
wonder why · wonder if · wonder about the future
subject + wonder + wh-word + subject + verb
subject + wonder + if/whether + subject + verb