What is income earned as a CA nonresident from W2, 1099-INT and 1099B

I was a California resident from January 2017 to May 2023. Following that I moved to Singapore, and have been in Singapore from May 2023 - Mar 2025 (present). I have 3 sources of income. Which ones do I need to pay CA state taxes on?

 

1) I have a W2 from 2024 for third party sick pay due to a disability that occurred while I was in California in 2022. Is this considered income I earned in California?

2) I have a 1099-INT from 2 US bank accounts due to interest income I earned. Is this considered income I earned while I was a CA resident? ChatGPT says this is nonresident income, since I was a CA nonresident in 2024, even if the banks were located in CA.

3) I have a 1099 B that shows capital gains from Uber stocks I sold. These stocks were sold through a US bank account, and earned while I was in the US in 2017. Is this considered CA taxable income? ChatGPT says this is nonresident income.

 

Please let me know which of the three is CA taxable income. Thank you!