Either the cookie dough was too warm, or you chopped your chocolate too small. Don't worry, the cookies will still taste good.