There are a couple reasons for that. The first one, is that you didn't press the sesame seeds onto the dough after dipping it into the sesame seeds. The second is that your dough was too dry and sesame seeds couldn't stick to it.