Expert answer:
Evacuating blood at this age without feeling any pain may be the rupture of a vein in the region near the anus resulting from some effort to defecate, especially if it suffers from bowel stuck with very hard stools. But it's just a guess. Ideally you should seek a doctor to better evaluate your daughter and see if it is really nothing more serious.