that depends on the code cycle your on.
it also depends on if its a double insulated pool pump or not.
it further depends on where the equipotential bonding makes the conection to an equipment ground.
680.21 (B) 2020 NEC.
if the equipotential bondings has a connection to an equipment ground at another location than the double insulated pump branch circuit than the equipment ground can be covered verses insulated, you could use uf cable in a non- corrosive enviroment