It doesn’t matter what the subject is: relationships, finances, comedy, traffic, photography…good outcomes are based on successful timing.
Luck has something to do with it, too, I know that for certain, and photography bears no exception. The good news is that with photography you can shoot more, and more, and more, and more, and thereby create your own luck based simply on the volume of attempts. BTW, you’ll always be luckier shooting a bee or butterfly taking off than you will be with one arriving on the scene.
Wait while it feeds or collects pollen or whatever, and then when it starts to fly start clicking.