When editing an existing text layer, Photoshop automatically capitalises the first letter of the first word — regardless of where it appears, and regardless of the the Shift and/or Caps lock status.
To replicate:
- Add a text layer
- Enter text
- Edit the text layer
- Enter text (capitalisation is enforced)
This can get very tedious when you’re editing large blocks of text.