摸鱼 comes from the idiom
浑水摸鱼 (fish in troubled waters — take advantage of chaos). In modern usage, it simply means slacking off at work, usually by browsing your phone or doing personal stuff during work hours. It's widely used and not considered very negative.