The Italian immigrant Ettore Boiardi is said to be responsible for that. He wanted to prepare his pasta and the accompanying sauces for as many people in the US as possible.
The stuffed pasta is said to have originated in Liguria. Since the mountain villages in north-western Italy were often isolated, each individual village developed its own recipes, using whatever was grown right outside the door.
Here's how the original is made by hand.