There are 4 settings that might have caused this:
Editing records is turned off.
In-line editing is turned off
Editing in the custom view is disabled.
The field is read-only. There are fields that are always read-only but there are those that you can set yourself.