Borrowing costs for governments around the world were rising on Friday on renewed worries about the inflationary impact of the Iran war.