Either there's not enough light or in direct sunlight the light is to harsh.
I often use back-button AF to get approximate focus followed by moving slightly forwards or backwards(6x magnification helps), for macro I disengage AF from shutter button.
If I know I'll be around MFD I switch to MF on the lens, turn focus ring to MFD and just move camera, with MF using focus peaking is possible.