Sinkholes occur when the wax cools much too quickly. Two things can cause this. One is you poured the hot candle wax into a cool container. Second, you poured the candle wax too hot and it didn't cool enough.