Why would the battery light come on after just changing the battery?

Your alternator could be bad have it checked this could also be that the car is getting the wrong amount of volts from the battery, either too much or too less