What is the paint made of???

It's a cute toy organizer. However, it came damaged (see pic) and i put toy balls in the bottom part and after a week the paint came off and got stuck to the balls. I never seen anything like it!!! And when i touched the area the paint seemed to be soft. I want to know now what kind of paint is this and is this safe for my kids????

###

