A common cause of most problems is double vertices like this.
When things like this don’t work as expected, selecting all vertices by pressing ‘A’ in edit mode, ‘M’ and then select ‘By Distance’ will usually fix it.
Another common issue is flipped normals, with all vertices selected in edit mode, SHIFT+N will recalculate the normals.