This dream of physical reaction is generally directly related to the physical condition during sleep. Dreams are the fulfillment of wishes. If the lungs are uncomfortable and sulky during sleep, then this feeling will be interpreted as phlegm by the subconscious mind, and dreams are the realization of wishes, so dreams cough up phlegm. So just pay attention to the sleeping environment and habits.