It initially alluded to the literal process of preparing a pump — it described the steps of pouring liquid in a pipe in order to force the air out and make it work. It eventually transformed into a saying that refers to the taking of "steps to encourage the growth or functioning of something," according to Merriam-Webster.