Wonder means something that causes amazement or awe in marvel. It is often inexplicable and astonishing to ponder on.
"I wonder how the kids are doing without us."
Wander means to search and move without purpose usually for livelihood by straying away from one's course.
"Be careful, don't go wandering off."