The story
Origin unknown; possibly a variant of rickety (“of an object: not strong or sturdy; of a person: feeble in the joints, tottering”), reduplicated with a change of the initial consonant. The noun is attested earlier than the adjective.
Etymology from Wiktionary, CC BY-SA 4.0.