This indicates that Adonijah counted Solomon as a rival and an obstacle to his ambitions.—1Ki 1:5-10.
... In the meantime, Joab, having heard of Solomon’s action, fled to grab hold of the horns of the altar, but there he was slain by Benaiah at Solomon’s order.—1Ki 2:26-35.