Probably from Rockaway Beach, where they were used. From the Unami lekawe (“sandy place”) or a Munsee cognate of that word.
rockaway (plural rockaways)
Part or all of this entry has been imported from the 1913 edition of Webster’s Dictionary, which is now free of copyright and hence in the public domain. The imported definitions may be significantly out of date, and any more recent senses may be completely missing.
(See the entry for “rockaway”, in Webster’s Revised Unabridged Dictionary, Springfield, Mass.: G. & C. Merriam, 1913, →OCLC.)