A boy toddler is holding a bat he is about to swing at a pinata.
A child is crying because he didn't get cake
A toddler can be either holding a bat or crying.
A boy toddler indicates the gender is male and the age is 1-3 years old whereas a child could be male or female and up to 12 or 13 years of age generally. Holding a bat to swing at a pinata implies the child is happy and having fun whereas crying implies that the child is sad.
A boy that is about to swing at a pinata cannot be crying because he didn't get cake.