Happened a few times. I narrowed it down to two options. Either the door dissapeared because there was a bush on the same tile as where I was placing the door. Or its because i had not put 2 block high walls on either side of the door to have something to hinge on.
I can confirm doors placed on bushes will disappear and can not be removed. The area the door is becomes a dead zone.