When I use Chest Minecarts, Hopper Minecarts etc the Observer Block does not detect that it is around it so it doesn't do anything it seems like it should do something like when a block is broken. The Observer should be able to detect anything that gives an update to the area, Minecarts do that so why isn't this a thing. Unsure if its a bug I feel like it is but it could be just how they work.
Observers detect block updates. Minecarts are entities, not blocks.