Every time an English speaker says lariat, they are also saying "the." The first syllable is the Spanish article la, swallowed whole.
In the American Spanish of Mexico and the Southwest, la reata meant "the lasso" or "the rope." Reata itself comes from the Spanish verb reatar, "to tie again," built from re- and atar, "to tie." Atar goes back to Latin aptare, which Merriam-Webster glosses "to fit" and the American Heritage Dictionary "to join." The article la, in turn, comes from Latin illa. So the root idea is a cord for binding, not specifically one for throwing.
English speakers in the American West heard "la reata" as a single word and wrote it down as lariat. Merriam-Webster gives its first known use as 1835, and Dictionary.com dates it to 1825 to 1835. The same Spanish word was also borrowed without the article. Riata, a modification of reata, is recorded from 1846 with the same meaning.
A lariat has two jobs, and dictionaries list both. It is a long light rope, of hemp or leather, with a running noose for catching livestock. It is also a rope, with or without the noose, for tethering grazing animals. The American Heritage Dictionary puts it as a rope for picketing grazing horses or mules. That second sense is closer to the original "tie again."
Lariat has a near twin in lasso, which reached English earlier, in 1808. Lasso comes from Spanish lazo, from Latin laqueus, "snare." The two are synonyms now, but they come from different Spanish words: one means a snare, the other a tie.
Lariat also belongs to a small group of English words that swallowed a foreign article. The best known is alligator. It comes from Spanish el lagarto, "the lizard," and was recorded in English in 1591. In both cases English speakers heard the article as part of the name of the thing.