This was put on hold as off topic.
This question, is on similar grounds.
I am trying to understand why the first one is off topic but second one is not. Any inputs?
Short answer : Questions asking for dream analysis are off-topic.
Long answer :
If you look at the revisions of 'Dream' of Lord Shiva, you will understand that the question has been changed a lot removing all the details of dream and asking its analysis. It was edited to make a general question so that there won't be any questions further.
Now the question which put on hold recently has a question what does a dream mean. There can be thousands of dreams to many users and each and every one will give different interpretations. You may get a question like this So, you don't know which one is correct and follow. Moreover, you never know if the details are accurate. These reflect the ideas of the person who saw the dream. As Andrew.T says in the comment under your question, they are only helpful to the user who asks the question. These questions will not be helpful to others who read and the answer will not be satisfying and will rise to speculations.
This is the reason dream related questions are made off-topic a long ago.
To reflect this, the tag wiki of the dream says the following:
This tag can be used for general questions about dreams. A dream is a succession of images, ideas, emotions, and sensations that usually occurs involuntarily in the mind during certain stages of sleep. Note that analysis of a specific dream is off-topic.
So, questions which ask for general dream questions are within our scope but which asks for analysis are off-topic even if there is mention of it in the scriptures. Because there are different circumstances a dream is seen and depends on person to person.