Combine the dry ingredients: Sift the flour into a bowl. Add the baking powder, baking soda, salt, ground ginger, cinnamon, allspice, and ground cloves. Whisk until well combined and set aside.
Cream the butter and sugar: In a separate mixing bowl, beat the butter with an electric mixer on medium speed for about 30 seconds. Add the sugar, egg, and vanilla extract. Beat until the ingredients are just combined and the mixture is smooth and homogeneous.
Add the carob molasses: Stir in the carob molasses and beat for another 30 seconds, allowing it to blend evenly into the butter mixture.
Make the dough: Gradually add the flour mixture to the wet ingredients. Beat on low speed for about 1 minute, just until the ingredients come together. Move the beaters around the bowl and scrape down the sides with a rubber spatula as needed. The dough should be neither too soft nor too firm.
Rest the dough: Set the dough aside to rest for 2 hours.
Preheat the oven: Preheat the oven to 180°C (350°F) and position a rack in the center.
Roll out the dough: Divide the dough into two equal portions. Place one portion inside a plastic bag and roll it out with a rolling pin to approximately ½ cm (¼ inch) thick.
Cut out the cookies: Carefully cut open the plastic bag and remove the top layer. Using a gingerbread man cookie cutter, cut out the shapes. Repeat with the remaining dough.
Arrange the cookies: Transfer the cutouts to parchment-lined baking sheets, leaving about 2.5 cm (1 inch) between each cookie.
Bake: Bake one baking sheet at a time for 8–10 minutes. Keep an eye on the edges; they should not become dark brown, as this may indicate that the cookies are overbaked.
Cool: Remove the cookies from the oven and let them cool completely. Once cooled, transfer them to a wire rack.