He's an experiment, sometimes certain parts of his body react in ways he wouldn't expect!
On this case, smelling flowers! How was he to know that smelling a certain flower would lead to immobility by dick growth?
Clearly not Stitch, that's for sure l3