She probably gave birth in a bathroom/toilet, hence the towel. This baby was left almost immediately after giving birth. This was not a rational planned act imo. Giving birth is painful, shocking, bizarre at the best of times, let alone for a vulnerable girl or woman who may be in all kinds of a chaotic situation at home.
I wouldn't stop anyone from campaigning for "safe havens" but I really don't think that's a useful way of helping women and girls.