Some of both. You don't hold batters to ~.160 average without significant luck. Even prime Pedro couldn't maintain a sub .210 BABIP. But the things that he has more control over---K%, BB% and HR%, GB rate and LD% (the last one is probably less sticky) all support the idea that it's not just luck.