In most cases, it is not known how a child gets cancer. We do know that it is not caused by anything you did as a parent. In some cases, the cancer has a genetic basis, but most often the cause is unknown.