The correct option is B By
Here, 'by' is correct because it implies at the side of somebody/something or beside somebody/something.
'Between' is incorrect because it implies in or into the space separating two or more points, objects, people etc.
'To' is incorrect because it implies in the direction of something; towards something.
'Of' is incorrect because it is used with measurements and expressions of time, age, etc.