The initial growth of the shoot is not towards the light as it cannot detect the light when buried but against gravity - geotropism. Growth towards the light occurs as the shoot emerges from the soil - phototropism takes over.
If a healthy daffodil bulb is planted upside down it will produce a shoot that will emerge from the bulb heading the wrong direction, but that will then bend, change directions, and will eventually come out of the ground as it should. Likewise the roots of the up-side-down bulb will start to grow and will quickly reverse directions, and will grow down as daffodil roots were intended to do so. But if a bulb is small, weak, or planted too deep, and it is inverted like this, it may never emerge. It may run out of energy and die before the top reaches the sunlight. Over time some bulbs will correct their orientation as the roots are contractile and 'pull' the bulb round.