This is one of the differences between Excel and Excel for the Web. The downloaded version of Excel 365 can open CSV files while the browser-based Excel can not.