It's not secret [1]. It's very well known that tech companies will consult psychologists with the goal to make their products more addictive.
[1] https://nypost.com/2019/08/13/big-tech-is-using-psychology-t...
[1] https://nypost.com/2019/08/13/big-tech-is-using-psychology-t...