This is the expected system behaviour if Consolidate Projects on Sales Transactions preference is enabled.
To verify this information, user can perform the following steps:
1. Navigate to Setup > Accounting > Accounting Preferences (Administrator).
2. Under Items/Transactions tab, navigate to Sales & Pricing section.
3. Verify if Consolidate Projects on Sales Transactions box is marked.