Stiles just wanted to apologize to Lydia for the way they had treated her, to try to make amends. He never expected it to lead him here. This is basically a crazy thing that came out of a conversation with a friend of mine before 3B started about "what would happen if I started Truth and Consequences now".