It's similar to the saying do not judge a book by its cover. As intentions are hidden deep inside blue sea and you are hardly sure of it even its out. Intentions play a wild game, you can never be sure of it and there is always room for doubts. With wandering in quote I am talking more on intentions is it. Hope you got the connection.
You never know why the person is wandering and what he is in search of. He might also be in pease at heart.