UV unwrapping gives a skewed result
I suspect your seams are not disconnecting the two sections - possibly you have duplicated geometry. In Edit mode, select all vertices and do a Merge By Distance to ensure you haven’t got overlapping geometry (possibly the result of a cancelled Extrude operation) then check your seams again and re-unwrap.