Summary and inventory items tab showing different calculations

hello everyone i faced some issue in valuating my inventory. when i see summary it show something different value as i shared screenshoot

but in my inventory items tab it shows something different value of inventory as shown

do i have to edit every single inventory item in summary tab and also in inventory item tab to set unit cost of every inventory ?
why inventory unit cost is updated continuously in settings while i have already set unit cost of inventory manually ?