To have twisted or turned something with a screw, or slang for having messed up badly or been treated unfairly.
From Old French 'escroue' meaning a screw or female screw (the threaded part). The literal meaning is ancient, while the slang meaning emerged in the 20th century.
A screw is called a screw because the literal word comes from a female pig—'sow' became 'scrofa' in Latin, and the shape of a screw's spiral reminded people of that shape, so they borrowed the term for the mechanical part.
Complete word intelligence in one call. Free tier — 50 lookups/day.