yield curves vs put and calls

As the yield curve moves from flat to upward sloping the price of the put will increase as will the value of the bond…can someone explain why this inc the price of the put and what it would do the price of a call?

thanks