According to a logical principle, it is mandatory for Muslims to keep the revere (respect) of Kaaba. Actually whatever leads to disrespect the Kaaba (or to decreases its hugeness,) could be Haram. Since for instance if some groups build a tower or building taller than Kaaba (around it), hence rationally it could reduce the magnitude of Kaaba (at its apparent); how come?
Because the taller building, unwanted, would distract the Hojjaj (Hajjis) (and attracts their attention during Tawaaf) ... as a very huge building that Kaaba would be looked so smaller than that building in the view of the Hojjaj.
(As I saw that from near: When you are in Masjed-al-Haram, unwanted your looking ...)
Therefore its height (unwanted) would not allow Hojaj to concentrate on the Kaaba (to focus on praying and Tawaf and ...) completely even for example when they are saying prayers, perhaps its height would lead to distract … (Of course not always, but at many times...) And likewise whoever intents to go to the Kaaba, at the first sight, the height of the tall building will attract his/her attention.
In accordance with a narration from Imam Baqer (a.s.), he mentioned that it is not an appropriate act to build a building taller than Kaaba; As a result we can say that according to Shia, it is a Makruh act to build a building taller than Kaaba around it.
Imam Muhammad Baqer (A.S.):
… and it is not suitable that somebody builds a structure (building)
taller than Kaaba. (Koleini, Muhammad ibn Yaqub, Al-Kaafi (Pg.230). To
see the complete address of the narration and also more information,
you can refer to the source below.)