The correct options are
A Magnetic force
B Electrostatic force
Magnetic forces deals with poles and electrostatic charges deals with charges. Both kinds of forces interacts with two types of polarities- North & South Pole in magnets; Positive and Negative charge in electrostatic force. Because of the two polarities, Magnetic and electrostatic forces can be both attractive or repulsive in nature.
Gravitational force is always attractive in nature.
The frictional force acts in a direction opposing relative motion. For friction to act, contact is necessary and hence, it is neither attractive not repulsive.