How to fix my NavMesgAgent walk through my targert object?

So let me explain my NavMeshAgent just walk through my target object can you show me how to fix that?

Extra info: i added rigid body into target object but the collision only trigger when i move the target object.

I think you might be looking for this:

https://docs.unity3d.com/Manual/class-NavMeshObstacle.html