If Account B is the parent account of Account A, then the built-in behaviour is to show you a roll-up of the activities for both, on B.
If you display a sub-grid of activities on the form instead, then you would only see the activities from the account itself, not its children.
Hope this helps.
Adam Vero, Microsoft Certified Trainer | Microsoft Community Contributor 2011
UK CRM Guru Blog