If you’re referring to a specific incident, it sounds like a situation of neglect or cruelty, which is incredibly distressing. Babies, especially, are completely dependent on others for care and safety. What you described could lead to serious harm. I hope that if this is a real situation, the child is safe now and someone stepped in to help. If you’re thinking about reporting something like this, it might be good to contact the authorities or child protection services.