If your oil is too hot, the bread will cook too fast on the outside and will not have time to finish cooking on the inside.