This is one of those famous superstitions that comes from Buddhism. When Buddha died his head was facing towards the north. In India people started to lay dead people so their head is facing north. While it can be considered good luck in India it’s considered bad luck in Japan simply because of its association with death.