Sense of ownership

I'm now alone as a frontend engineer at my day job. I contemplated as to why I was saved from getting kicked out. Why him, and not me. This occurred after the Mobile developer from my side project got booted out, and our frontend engineer almost suffered the same fate.