Sickle cell trait is almost always caused by a gene passed down from one parent.
The parent may not even know he or she has it. Rarely, a new mutation can also occur-- a child's gene changes on its own, meaning that they didn't get it from a parent. I could not find the exact rate of these new mutations. It's rare, but it can at least theoretically happen.