Intuition
You intuition is part of your subconsciousness. It’s the part that notices everything going around you and catalogs it for later. When you are able to slow you mind down and get inspiration from seemingly out of nowhere, this is your subconscious intuition talking to you. It’s telling you the answer based on information it gathered that your conscious mind was too busy to notice.