I would think it would be (A):
In the image, it appears as if object B is inside of object A, so whatever acceleration object A has should be the exact same as that for object B...
Picture it like this:
If you are running at a constant speed of
Assuming that block B slides inside the cavity frictionless, block B acceleration is composed both of block A horizontal acceleration and this same acceleration downwards. So the resulting acceleration is