Microsoft project management software used to plan, manage, and communicate a project schedule and other information among workgroup members, project managers, and other stakeholders.
Jan Willem Tromp1,
The task type definitions cited are not totally hard and fast. As a starting point they hold but various scenarios during editing can cause changes.
In your simple example, the work has NOT changed, it is still 8 hours. What has changed is the duration. When the assignment level is changed to 10%, you will see an option to change the duration (default) or keep the duration the same and change the work content.
It's not a bug, it's the way Project works.
You may find this article informative: https://support.microsoft.com/en-us/office/change-the-task-type-for-more-accurate-scheduling-b0b969ad-45bc-4e9e-8967-435587548a72
John