From caja (“box”) + -eta. The sweet takes it name from the containers it was stored in.
Practice speaking and memorizing "cajeta" and many other words and sentences in Spanish.