The story
Originates as a slang term for throwing out lots of cash to dancers in strip clubs, as if money is raining down on them. Draws from its roots in rainmaker (“a medicine man who seeks to induce rain; (figuratively) a person having the ability to generate business”).
Etymology from Wiktionary, CC BY-SA 4.0.