Murabaha is a cost-plus sale, so the bank must acquire the asset, bear the ownership risk and then sell it at a disclosed markup, which is what distinguishes it from a loan with interest. If the bank merely advances money and books a markup, the transaction is a hiyal device and is rejected by Shariah boards. Taking a commission from the supplier would be a conflict of interest and is also forbidden.