Earwigs are not normally associated with flowers, but they can occasionally hide in the flower buds if they provide enough dark end enclosed space to hide in. This one did not manage to completely hide because this bud is healthy and still well enclosed with leaves. Some other flower buds were badly damaged by slugs – hollowed out in the middle – and those were positively filled with earwigs to the brim.
I do not know why many people fear earwigs, they are completely harmless and very shy animals. When disturbed, their only worry is to scamper off somewhere secluded and dark as soon as possible. They do not climb into ears to eat our brains, but they do eat mites and aphids, so they are an asset in the garden.