Some Pathway cards tell me to put a tile or tiles back into the stack. Is this meant to be random?
No
You may choose where the tiles go according to the restrictions laid out in the card. However, are not allowed to peek at the tiles in the area of the stack that you insert those tiles.