when using the instantiate function, why do my prefabs not work with all the scripts assigned to it

i dont know how to explain this well so ill try with the use of an image.

the first enemy(red) is one which was already in the scene. its turret faces towards the player(green) and so does the whole tank. the rest of the enemy tanks which have been instantiated always face up and do not rotate to face the enemy even though they have the same scripts.