Aha, the great "pianist left hand" conundrum 😀. There are probably already a dozen threads on this over the years.
Piano playing in the same register as bass can be completely mask the bass, both being stringed instruments at the same pitch. So fkr example if the pianist plays a thumping C chord on every beat of the bar, or a heavy boogie-woogie line, there is almost no point in the bass player doing anything. Root notes are already there and any interesting lines get drowned out.
If the FOH engineer is on the ball s/he may have rollled off the piano or ducked the LF under the bass so that you can hear both in the mix. But that's not always easy to do well without making the piano sound a bit honky-tonk.
So in ad hoc bands or where the pianist isn't used to having a bass player, there's often a tension/negotiation between the two instruments.
Orchestral pads are usually easily distinguished from bass notes and sit back in the mix anyway.
It's all good fun 😁