Because you drove the car with the new battery. If the alternator was not charging it would slowly discharge the battery.
Also, the diodes inside can cause current draw problems when they fail.
But if you have a new one, then that is most likely to not be your problem.
Do as suggested, current draw test, find what is sucking out the power.