Hi & welcome!
Compare it to the variegated form of lucky bamboo (Dracaena braunii/sanderiana.)
Lucky Bamboo (Dracaena sanderiana)
Whatever it might be, without some wind to resist (from always being inside,) stems can become weak. Staking is an option, or trimming off the taller, leaning tips and sticking them back in the pot (or into another pot to start more.)