Unhappy with his life as a Marine stationed in California, Terence Tyler posed a question three years ago on Twitter: “is it normal to want to kill ALL of ur coworkers?”

Struggling with depression, he left the Marines and recently started working at a supermarket in Old Bridge.

Police say Tyler shot two co-workers and himself on Friday morning. Authorities said the 23-year-old, clad in desert camouflage gear, opened fire at a Pathmark store.

Authorities are investigating his motive, but family members said Tyler was discharged from the Marines two years ago after suffering from depression and had never gotten over his mother’s death about five years ago.

Authorities identified the two victims as 18-year-old Cristina LoBrutto and 24-year-old Bryan Breen.